/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Dblayer;
import java.util.ArrayList;
import Modellayer.*;
/**
 *
 * @author bruhn
 */
public interface IFDBLevering {
    // get all bestillinger
    public ArrayList<Levering> hentBestilling(boolean retriveAssociation);
    //get one Bestilling having the bestillingsNr
    public Levering findLevering(int bestillingsNr, boolean retriveAssociation);
    //insert a new Levering
    public int opretLevering(Levering levering);
    //update information about an Levering
    public int redigerLevering(Levering levering);
    //delete a Levering
    public void sletLevering(int bestillingsNr);

}
